package com.backstage.employeeModule.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * `Mobile_end_Employee`
 * </p>
 *
 * @author liu-xiang
 * @since 2022-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Mobile_end_Employee")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
      @TableId(value = "empno", type = IdType.AUTO)
    private Long empno;

    /**
     * 员工用户名
     */
    private String username;

    /**
     * 员工密码
     */
    private String password;

    /**
     * 员工电话
     */
    @TableField("empPhone")
    private String empPhone;

    /**
     * 角色
     */
    private String empRole;

    /**
     * 员工性别(0为男,1为女)
     */
    private Integer empSex;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 状态
     */
    private String state;

    /**
     * 创建时间
     */
    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 员工登录ip地址
     */
    @TableField("empIP")
    private String empIP;


}
